package com.mer.member.utils;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: iiphase-project-master
 * @description:
 * @author: 薛宁宁
 * @create: 2021-10-19 09:54
 **/
@Data
@NoArgsConstructor
public class Result {
    private Integer code;
    private String msg;
    private Object result;
    private Long count;


    public Result(Integer code, String msg, Object result) {
        this.code = code;
        this.msg = msg;
        this.result = result;
    }

    public Result(Object result) {
        this.result = result;
    }

    public Result(Integer code, String mwsg, Object result, Long count) {
        this.code = code;
        this.msg = msg;
        this.result = result;
        this.count = count;
    }
}
